#ifndef _RENDERPARAMS_H_
#define _RENDERPARAMS_H_

#include "Color.h"

namespace FemViewer {


class RenderParams
{
public:

	enum renderMode { fullRMode, bboxRMode, fastRMode };
	enum renderType { rasterization, raytracing };
	renderMode eRMode;
	renderType eRType;
	bool       bSmoothNormals;    // Smooth normals, where applicable, and apply them to the primitive
	bool       bFacetFrame; // Render the boundaries of a facet
	bool       bDoubleSided;      // polygons are not culled but also drawn if seen from the back side
	ColorRGB   BkgColor;
	int        iPrimitiveOptimizerValue; // Determine the maximum length of a glBegin/glEnd sequence
                                       //  default value of 100 is an acceptable performance/memory
                                       //  tradeoff.
  
	int        iRMode_Fast_Option;


  RenderParams()
    : eRMode                  (fullRMode),
      eRType				  (rasterization),
	  bSmoothNormals		  (false),
      bFacetFrame			  (false),  // to ja
      bDoubleSided			  (false),
      BkgColor(),
      iPrimitiveOptimizerValue(100),
      iRMode_Fast_Option	  (1)
    {}

};

} // edn namespace FemViewer

#endif /* _RENDERPARAMS_H_
*/

